<h1>{{ object.question }}</h1>

<form method="post" action="/polls/{{ object.id }}/vote/">

{% csrf_token %}

{% for choice in object.choice_set.all %}
	<input id="Choice{{ forloop.counter }}" type="radio" name="choice" value={{ choice.id }}> <label for="Choice{{ forloop.counter }}">{{ choice.name }}</label><br />
{% endfor %}

<input type="submit" value="vote" />

</form>